Skip to content

fix: bump pyrefly version#33702

Merged
asukaminato0721 merged 3 commits intolanggenius:mainfrom
JiwaniZakir:refactor-chore-bump-pyrefly-33699
Apr 22, 2026
Merged

fix: bump pyrefly version#33702
asukaminato0721 merged 3 commits intolanggenius:mainfrom
JiwaniZakir:refactor-chore-bump-pyrefly-33699

Conversation

@JiwaniZakir
Copy link
Copy Markdown
Contributor

Fixes #33699

Bumps the pyrefly dev dependency minimum version from 0.55.0 to 0.57.0 in api/pyproject.toml and api/uv.lock. Updates the resolved package from 0.55.0 to 0.57.1 to pick up upstream improvements and bug fixes.

Copilot AI review requested due to automatic review settings March 18, 2026 22:14
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the pyrefly development dependency to a newer version. This ensures the project benefits from the latest bug fixes and improvements in the pyrefly library, maintaining the stability and performance of the development environment.

Highlights

  • pyrefly Dev Dependency Version Bump: The minimum version for the pyrefly development dependency has been increased from 0.55.0 to 0.57.0 in api/pyproject.toml and api/uv.lock.
  • Resolved pyrefly Package Update: The resolved pyrefly package in api/uv.lock has been updated from 0.55.0 to 0.57.1 to incorporate upstream improvements and bug fixes.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. dependencies Pull requests that update a dependency file labels Mar 18, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the backend’s Python dev tooling to require a newer pyrefly version, aligning pyproject.toml and the uv lockfile so contributors/CI use the updated resolver output.

Changes:

  • Bump pyrefly minimum version in api/pyproject.toml from >=0.55.0 to >=0.57.0.
  • Update api/uv.lock to reflect the new minimum and resolved pyrefly package version (0.57.1).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
api/pyproject.toml Raises the pyrefly dev dependency minimum version to >=0.57.0.
api/uv.lock Updates the pyrefly requirement and resolved artifact metadata to 0.57.1 (sdist + wheels).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the pyrefly development dependency. While the version bump itself is fine, the updated uv.lock file contains incorrect upload-time metadata for the new package version, showing the year 2026 instead of 2024. This should be corrected by regenerating the lock file.

Comment thread api/uv.lock Outdated
@asukaminato0721
Copy link
Copy Markdown
Contributor

fix the ci err, add type ignore

@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Apr 21, 2026
@asukaminato0721 asukaminato0721 self-assigned this Apr 21, 2026
@asukaminato0721 asukaminato0721 added this pull request to the merge queue Apr 22, 2026
Merged via the queue into langgenius:main with commit 712e522 Apr 22, 2026
25 checks passed
HanqingZ pushed a commit to HanqingZ/dify that referenced this pull request Apr 23, 2026
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
asukaminato0721 added a commit to asukaminato0721/dify that referenced this pull request Apr 24, 2026
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Refactor/Chore] bump pyrefly version

3 participants